]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-global: Remove an explicit js-version set
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 2 Jan 2014 18:26:48 +0000 (13:26 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 2 Jan 2014 18:41:14 +0000 (13:41 -0500)
gjs's default js-version is already 1.8, and we're planning on removing
this API in the future, in accordance with upstream.

src/shell-global.c

index ee270141bffa27e15737f5f9511546a967aa118b..9b7fbdc4afe65d8fd3daee8962f4fa47cff2591d 100644 (file)
@@ -300,7 +300,6 @@ shell_global_init (ShellGlobal *global)
 
   global->js_context = g_object_new (GJS_TYPE_CONTEXT,
                                      "search-path", search_path,
-                                     "js-version", "1.8",
                                      "gc-notifications", TRUE,
                                      NULL);
   g_signal_connect (global->js_context, "gc", G_CALLBACK (shell_global_on_gc), global);